package org.LowAltitudeEconomy.service;

import org.LowAltitudeEconomy.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {

    //注册
    void register(String username, String password, String phone, String full_name);

    //根据用户名查找用户
    User findUserByUsername(String username);

    //登录
    User login(String username, String password);


}
